package com.xunwulian.base.constant;

import com.xunwulian.base.util.EnumType;;

public enum SmsStatus implements EnumType<SmsStatus, Integer, String> {

    INIT(0, "初始化"),
    SENDING(9, "发送中"),
    RECEIVE_NOTICE(1, "接收到应答报文"),
    SENT(2, "已发送"),
    SEND_FAILED(3, "发送失败"),
    RECEICED(5, "接收到回报");

    public int type;
    public String desc;

    SmsStatus(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    @Override
    public Integer getType() {
        return this.type;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }


}
